#ifndef SHMADT_H_
#define SHMADT_H_

/*--------------------------------------------------------------------------*/

typedef struct shmCDT * shmADT;

/*--------------------------------------------------------------------------*/

int connShm(int keySnd, int keyRcv, shmADT *shm);

int bindShm(int keySnd, int keyRcv, shmADT *shm);

int acceptShm(shmADT shm, shmADT *new);

int rcvShm(shmADT shm, void *buf, int count);

int rcvTShm(shmADT shm, void *buf, int count, int timeout);

int sndShm(shmADT shm, void *buf, int count);

int sndTShm(shmADT shm, void *buf, int count, int timeout);

int closeShm(shmADT shm);

/*--------------------------------------------------------------------------*/

#endif /*SHMADT_H_*/
